import React from 'react';
import styles from './App.module.less';
import classnames from 'classnames';
import { useState } from 'react';
import PrepareData from './PrepareData';

const Header = (props: any) => {

const Entrance = ( {newprops,exampleField }: any ) => {
  return(
  <div>Entrance   {newprops}</div>
  )
}
  return( 
    <>
      <PrepareData {...props}>  
        <Entrance />            
      </PrepareData>            
    </>
  )
}
// <PrepareData {...props}>  
//   <Entrance />            
// </PrepareData> 
//这一整个都在PrepareData文件里,Entrance为children

const One = () => {
return(
  <div></div>
)
}
const TWO =() => {
return(
  <div></div>
)
}
const Three = () => {
return(
  <div></div>
)
}
export default Header